package cn.thoughtworks.school.programCenter.repositories;

import cn.thoughtworks.school.programCenter.entities.TaskContentRead;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;


public interface TaskContentReadRepository extends JpaRepository<TaskContentRead, Long> {

    List<TaskContentRead> findByTaskIdAndStudentId(Long taskId, Long id);
}
